
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Feed;
import cn.edu.scau.cmi.hombio.domain.Pigsty;
import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Feed entities
 * 
 */
public interface FeedService {

	/**
	* Delete an existing Task entity
	* 
	 */
	public Feed deleteFeedTask(Integer feed_id, Integer related_task_id);

	/**
	* Save an existing Employee entity
	* 
	 */
	public Feed saveFeedEmployee(Integer id, Employee related_employee);

	/**
	 */
	public Feed findFeedByPrimaryKey(Integer id_1);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public Feed deleteFeedEmployee(Integer feed_id_1, Integer related_employee_id);

	/**
	* Load an existing Feed entity
	* 
	 */
	public Set<Feed> loadFeeds();

	/**
	* Return all Feed entity
	* 
	 */
	public List<Feed> findAllFeeds(Integer startResult, Integer maxRows);

	/**
	* Save an existing Task entity
	* 
	 */
	public Feed saveFeedTask(Integer id_2, Task related_task);

	/**
	* Return a count of all Feed entity
	* 
	 */
	public Integer countFeeds();

	/**
	* Save an existing Feed entity
	* 
	 */
	public void saveFeed(Feed feed);

	/**
	* Save an existing Pigsty entity
	* 
	 */
	public Feed saveFeedPigsty(Integer id_3, Pigsty related_pigsty);

	/**
	* Delete an existing Feed entity
	* 
	 */
	public void deleteFeed(Feed feed_1);

	/**
	* Delete an existing Pigsty entity
	* 
	 */
	public Feed deleteFeedPigsty(Integer feed_id_2, Integer related_pigsty_id);
}